package com.ffggffgfv.backend.entity;

import java.util.Date;

/**
 * 用户角色关联实体类
 */
public class UserRole {

    private Long id;        // 主键ID
    private Long userId;    // 用户ID
    private Long roleId;    // 角色ID
    private Date createTime;// 创建时间

    // Getter and Setter methods
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
